<?php 
	class Request{
		public function getVar($key, $default=null){
			if(isset($_REQUEST[$key])){
				return $_REQUEST[$key];
			}else{
				return $default;
			}
		}
		public function setVar($key, $value){
			$_REQUEST[$key] = $value;
		}
		
		public function getController(){
			return self::getVar('c');
		}
		
		public function getTask(){
			return self::getVar('task');
		}
	}